using System;
using System.Collections.Generic;
using System.Text;

namespace WCSFContrib.Extensions.CompositeWeb.Configuration
{
    public class CustomDependantModuleInfo : Microsoft.Practices.CompositeWeb.Configuration.DependantModuleInfo
    {
        private ServiceInfo[] _services;

        public CustomDependantModuleInfo() : base()
		{
		}

        /// <summary>
        /// Initializes a new instance of <see cref="DependantModuleInfo"/>
        /// </summary>
        /// <param name="name">The name of the module.</param>
        /// <param name="assemblyName">The module assembly.</param>
        /// <param name="virtualPath">The module location in the web site.</param>
        public CustomDependantModuleInfo(string name, string assemblyName, string virtualPath)
            : base(name, assemblyName, virtualPath)
        {

        }

        /// <summary>
        /// Gets or sets the list of modules this module depends on.
        /// </summary>
        public ServiceInfo[] Services
        {
            get { return _services; }
            set { _services = value; }
        }
    }
}
